<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActivityBargainInitiate
 *
 * @property int $id 自增id
 * @property int $user_id 发起用户id
 * @property int $ab_id 活动id
 * @property int $goods_id 商品id
 * @property int $goods_spu_id 商品属性id
 * @property float $finally_money 最终金额
 * @property int $bargain_num 砍价次数
 * @property string|null $end_time 砍价结束时间
 * @property string|null $order_num 订单编号
 * @property int $share_img_id 分享图片id
 * @property string|null $remark 备注
 * @property int $status 状态：-1：取消 0：正常 1：完成
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargainInitiate onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereAbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereBargainNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereFinallyMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereGoodsSpuId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereOrderNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereShareImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargainInitiate withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargainInitiate withoutTrashed()
 * @mixin \Eloquent
 * @property float $bargain_money 砍价金额
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereBargainMoney($value)
 * @property float $lowest_price 最低价
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargainInitiate whereLowestPrice($value)
 */
class ActivityBargainInitiate extends Model
{
    protected $table = "activity_bargain_initiate";
    use SoftDeletes;
}
